/*
 * 版权所有(c)  1952110078@qq.com  2022 - 2022
 */

package com.ldc.commonlibs.utils;

import android.widget.Toast;

import com.ldc.commonlibs.common.ComponentContext;

/**
 * @author liudc
 * @since 2022/7/13 21:49
 */
public class ToastUtil {

    public static void showToast(String message) {
        showToast(message, Toast.LENGTH_SHORT);
    }


    public static void showToast(String message, int length) {
        Toast.makeText(ComponentContext.getInstance().getApplication(), message, length).show();
    }
}
